package xyz.playedu.inspection.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xyz.playedu.common.types.paginate.CoursePaginateFiler;
import xyz.playedu.common.types.paginate.DeviceTypePaginateFiler;
import xyz.playedu.inspection.domain.DeviceTypeDict;

import java.util.List;

@Mapper
public interface DeviceTypeDictMapper extends BaseMapper<DeviceTypeDict> {

    List<DeviceTypeDict> paginate(DeviceTypePaginateFiler filer);

    Long paginateCount(DeviceTypePaginateFiler filer);

    DeviceTypeDict getDeviceTypeById(@Param("id") Long id);

    int delInfoById(@Param("id") Long id);
}
